Repository navigation
feat(cli): add read-only handoff preview - #73
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User problem
The three user questions are "what was I doing?", "which work do I continue?", and "what would I hand to the next agent?". The existing Core API had a read-only
continue_context/bundle_preview, but the CLI had no read-only Handoff Preview: the closest command,voyager continue --no-launch, still refreshes the index, takes a lease and writes a bundle. Users had to either perform a write to see the result or hand-write JSON API requests.Minimal change
Add
voyager preview, a thin CLI spelling of the existingcontinue_context+thread_detailAPI ops. It compiles the same bundle in memory and prints:READ ONLY/ no lease / no write / no launch contract;--jsonwith the same fields for tools.No new Core API op, Bridge schema change, Store schema change, scan, lease, pending attach, bundle file or second handoff engine.
Evidence
3 failedwithinvalid choice: 'preview'.3 passed(tests/test_cli_preview.py); targeted56 passedwithtest_auto.py+test_docs.py.out["read_only"] = True→False; target test failed withassert False is True; file restored byte-identical.cmd_previewto a no-op; target test failed withJSONDecodeError: Expecting value; file restored byte-identical.--threadselected the intended one; index SHA-256 set unchanged before/after preview.Scope
Documentation is intentionally limited to
CHANGELOG.md [Unreleased]: the current published release remains v1.5.0 / v1.3.0. User-facing Quickstart pin changes belong to the release-tagging commit.